import React, { Component, useState, useEffect } from 'react'
import url from '../assets/mouse.gif'
import fn from '../ttjj'

export default function JJ() {
  const { x, y } = fn()
  return (
    <div>
      <img
        src={url}
        alt=""
        style={{ position: 'absolute', left: x, top: y, width: 100 }}
      />
    </div>
  )
}
